package com.sdkj.service.law;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sdkj.dao.DaoSupport;
import com.sdkj.util.PageData;



@Service("lawReviewService")
public class LawReviewService {
	@Resource(name="daoSupport")
	private DaoSupport dao;

	public PageData findById(PageData pd) throws Exception{
		return (PageData) dao.findForObject("LawReviewMapper.findById", pd);
	}

	public void save(PageData pd2)throws Exception {
		dao.save("LawReviewMapper.save", pd2);
		
	}

	public PageData findByCid(PageData pd) throws Exception{
		return (PageData) dao.findForObject("LawReviewMapper.findByCid", pd);
	}
	
	
	
}
